package cn.iocoder.yudao.module.lfd.convert.appointment;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.lfd.controller.admin.appointment.vo.*;
import cn.iocoder.yudao.module.lfd.dal.dataobject.appointment.AppointmentDO;

/**
 * 预约 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface AppointmentConvert {

    AppointmentConvert INSTANCE = Mappers.getMapper(AppointmentConvert.class);

    AppointmentDO convert(AppointmentCreateReqVO bean);

    AppointmentDO convert(AppointmentUpdateReqVO bean);

    AppointmentRespVO convert(AppointmentDO bean);

    List<AppointmentRespVO> convertList(List<AppointmentDO> list);

    PageResult<AppointmentRespVO> convertPage(PageResult<AppointmentDO> page);

    List<AppointmentExcelVO> convertList02(List<AppointmentDO> list);

}
